export type Skill = {
  id: number;
  name: string;
  value: number; // 技能熟练度，范围1-10
  category: SkillCategory;
};

export type SkillCategory = 
  | "技术" 
  | "管理" 
  | "咨询" 
  | "教育" 
  | "设计" 
  | "营销";

export const skillCategories: SkillCategory[] = [
  "技术",
  "管理",
  "咨询",
  "教育",
  "设计",
  "营销"
];

// 按类别组织的技能数据
export const skills: Record<SkillCategory, Skill[]> = {
  "技术": [
    { id: 1, name: "数据安全", value: 9, category: "技术" },
    { id: 2, name: "软件开发", value: 8, category: "技术" },
    { id: 3, name: "高精密加工", value: 8, category: "技术" },
    { id: 4, name: "系统架构", value: 7, category: "技术" },
    { id: 5, name: "人工智能", value: 7, category: "技术" },
    { id: 6, name: "云计算", value: 8, category: "技术" },
  ],
  "管理": [
    { id: 7, name: "项目管理", value: 9, category: "管理" },
    { id: 8, name: "团队领导", value: 8, category: "管理" },
    { id: 9, name: "风险控制", value: 9, category: "管理" },
    { id: 10, name: "资源规划", value: 7, category: "管理" },
    { id: 11, name: "绩效评估", value: 8, category: "管理" },
  ],
  "咨询": [
    { id: 12, name: "财务顾问", value: 8, category: "咨询" },
    { id: 13, name: "安全咨询", value: 9, category: "咨询" },
    { id: 14, name: "业务流程优化", value: 8, category: "咨询" },
    { id: 15, name: "战略规划", value: 7, category: "咨询" },
  ],
  "教育": [
    { id: 16, name: "课程开发", value: 9, category: "教育" },
    { id: 17, name: "教学技巧", value: 8, category: "教育" },
    { id: 18, name: "教育评估", value: 7, category: "教育" },
    { id: 19, name: "教育科技", value: 9, category: "教育" },
  ],
  "设计": [
    { id: 20, name: "UI/UX设计", value: 7, category: "设计" },
    { id: 21, name: "产品设计", value: 8, category: "设计" },
    { id: 22, name: "视觉传达", value: 7, category: "设计" },
  ],
  "营销": [
    { id: 23, name: "数字营销", value: 8, category: "营销" },
    { id: 24, name: "内容策略", value: 9, category: "营销" },
    { id: 25, name: "社交媒体", value: 8, category: "营销" },
    { id: 26, name: "市场分析", value: 7, category: "营销" },
  ]
};

// 用于雷达图的技能数据
export const radarSkills = [
  { category: "数据安全", value: 9 },
  { category: "软件开发", value: 8 },
  { category: "教育技术", value: 9 },
  { category: "财务管理", value: 8 },
  { category: "精密制造", value: 8 },
  { category: "数字营销", value: 8 },
  { category: "项目管理", value: 9 },
  { category: "团队领导", value: 8 },
]; 